// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_settings
// * CreateDate    : 2014-06-05 18:30:01
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:01
// * LastChanger   : 2014-06-05 18:30:01
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmSettingsTable : TableInfo
    {
		public const string C_TableName = "hm_settings";
		
		public const string C_settingid = "settingid";
		public const string C_settingname = "settingname";
		public const string C_settingstring = "settingstring";
		public const string C_settinginteger = "settinginteger";
		
		public HmSettingsTable()
        {
            _tableName = "hm_settings";
        }
		
		protected static HmSettingsTable _current;
        public static HmSettingsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmSettingsTable();

            _current.Add(C_settingid, new ColumnInfo(C_settingid,"Settingid", true, typeof(int)));
            _current.Add(C_settingname, new ColumnInfo(C_settingname,"Settingname", false, typeof(string)));
            _current.Add(C_settingstring, new ColumnInfo(C_settingstring,"Settingstring", false, typeof(string)));
            _current.Add(C_settinginteger, new ColumnInfo(C_settinginteger,"Settinginteger", false, typeof(int)));
			
		}
		
		public ColumnInfo settingid
        {
            get { return this[C_settingid]; }
        }
		
		public ColumnInfo settingname
        {
            get { return this[C_settingname]; }
        }
		
		public ColumnInfo settingstring
        {
            get { return this[C_settingstring]; }
        }
		
		public ColumnInfo settinginteger
        {
            get { return this[C_settinginteger]; }
        }
		
		
		
	}
}

